package com.digdes.calendar.model.impl;

import com.digdes.calendar.model.Group;
import com.digdes.calendar.model.User;

import java.util.HashSet;
import java.util.Set;

/**
 * User: Dmitry
 * Date: 17.04.12
 * Time: 17:28
 */
public class GroupImpl implements Group {
    private long id;
    private String nameGroup;
    private Set<User> users = new HashSet<User>();

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getNameGroup() {
        return nameGroup;
    }

    public void setNameGroup(String nameGroup) {
        this.nameGroup = nameGroup;
    }

    public Set<User> getUsers() {
        return users;
    }

    public void setUsers(Set<User> users) {
        this.users = users;
    }
}
